import {VNode} from "@vue/runtime-core";

export interface Descriptions<T>{
    label: string
    prop?: keyof T & string,
    slot?: (data: any)=> VNode
    width?: number,
    minWidth?: number
    span?: number
    dict?: string
}

export type DescriptionsTree<T> = Descriptions<T>[]

